<?php get_header(); ?>

<div id="leftcolumn">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div class="post" id="post-<?php the_ID(); ?>">

<?php $trailer = get_post_meta($post->ID, 'trailer_value', $single = true)  ?>
<?php $poster = get_post_meta($post->ID, 'poster_value', $single = true)  ?>

<a href="<?php echo $trailer; ?>" rel="prettyPhoto" ><img class="sposter rounded" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $poster; ?>&amp;h=270&amp;w=200&amp;zc=1" alt=""/></a>
<div class="title">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
</div>
<div class="metas">
<span class="smeta"><?php echo get_the_term_list($post->ID,  'genre', 'Posted under : ', ', ', ''); ?></span>
<span class="smeta"> Posted on <?php the_time('F - j - Y'); ?></span>
<span class="smeta"> <?php comments_popup_link('Add Comments', '1 Comment', '% Comments'); ?></span>
</div>

<div class="postcover"> 

<?php the_content('Read the rest of this entry &raquo;'); ?>
<?php include (TEMPLATEPATH . '/ad1.php'); ?>

<div class="clear"></div>

</div>
</div>


<?php comments_template(); ?>
<?php endwhile; else: ?>

		<h1 class="title">Not Found</h1>
		<p>I'm Sorry,  you are looking for something that is not here. Try a different search.</p>

<?php endif; ?>

</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>